#define _CRT_SECURE_NO_WARNINGS 1

#include"LTlist.h"

tast1()
{
	LTNode* plist = LTInit();
	LTPushBack(plist, 1);
	LTPushBack(plist, 2);
	LTPushBack(plist, 3);
	LTPushBack(plist, 4);
	LTPrint(plist);

	LTDelBack(plist);
	LTPrint(plist);

	LTPushPop(plist, 999);
	LTPrint(plist);

	LTDelPop(plist);
	LTPrint(plist);

	LTNode* pos=LTFindpos(plist, 3);
	LTDelPos(pos);
	LTPrint(plist);

	LTDestroy(plist);
	plist = NULL;

}


int main()
{
	tast1();
	return 0;
}